package indi.zhifa.core.enummemo.entity;


import com.alibaba.fastjson2.annotation.JSONField;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.Map;

@Data
@Schema(title = "枚举项")
public class EnumItemVo implements IEnumItemVo {

    @Schema(title = "英文名")
    String name;

    @Schema(title = "code")
    Object code;

    @Schema(title = "中文名称")
    String cname;

    @Schema(title = "描述")
    String description;

    @JSONField(serialize = false,deserialize = false)
    Enum enumConstant;

    @Schema(title = "额外信息")
    Map<String,Object> userData;
}
